const routes = [
  {
    path: '/',
    redirect: '/home',
  },
  {
    name: '首页',
    icon: 'HomeOutlined',
    path: '/home',
    component: '@/pages/home',
  },
  {
    path: '/login',
    component: '@/views/login',
    layout: false,
  },
  {
    path: '*',
    component: '@/views/404',
    layout: false,
  },
]

export default routes
